<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
	<meta http-equiv="X-UA-Compatible" content="IE=Edge">
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>芙蓉346 - 首页</title>
	<link type="image/x-icon"  th:href="@{/favicon.ico}" href="/favicon.ico" rel="icon">
	<link rel="stylesheet"  th:href="@{/css/index.css}" href="css/index.css" />

	<link rel="stylesheet" th:href="@{/css/index_1.css}" href="static/css/index_1.css" />
	<script type="text/javascript" charset="UTF-8" th:src="@{/js/jquery-1.12.4.min.js}" src="static/js/jquery-1.12.4.min.js"></script>
	<script type="text/javascript" charset="UTF-8" th:src="@{/js/form.js}" src="static/js/form.js"></script>
	<script type="text/javascript" charset="UTF-8" th:src="@{/js/validate.js}" src="static/js/validate.js"></script><link rel="stylesheet" type="text/css" th:href="@{/css/style.css}" href="static/css/style.css" />
	<script type="text/javascript" charset="UTF-8" th:src="@{/js/artdialog.js}" src="static/js/artdialog.js"></script><script type="text/javascript" charset="UTF-8" th:src="@{/static/js/iframetools.js}" src="static/js/iframetools.js"></script><link rel="stylesheet" type="text/css" th:href="@{/css/white.css}" href="static/css/white.css" />
	<script type="text/javascript" charset="UTF-8" th:src="@{/js/arttemplate.js}" src="static/js/arttemplate.js"></script><script type="text/javascript" charset="UTF-8" th:src="@{/static/js/arttemplate-plugin.js}" src="static/js/arttemplate-plugin.js"></script>
	<script type='text/javascript' th:src="@{/js/site.js}" src='static/js/site.js'></script>
	<script type='text/javascript' th:src="@{/js/public.js}" src='static/js/public.js'></script>




	<meta name='keywords' content='开源商城系统,开源网店系统,开源电子商务,商城系统源码,多用户商城源码'>
	<meta name='description' content='iwebshop是基于php开发b2c2c开源多用户商城系统,支持商家入驻,支持微商城,手机移动商城,APP商城多为一体的电子商务系统'></head>
<body>
<!--block-->
<div class="public-top-layout w">
	<div class="topbar wrapper">
		<div class="user-entry">


			<a href="{url}" title="首页" alt="首页">您好，欢迎来到iWebShop开源商城</a>！

			<span> <a th:href="@{/templates/login}" href="/templates/login">登录</a> | </span>
			<span> <a href="/templates/register">注册</a> </span>
			<div  style="float:right;"><iframe name="weather_inc" src="http://i.tianqi.com/index.php?c=code&amp;id=10" width="300" height="20" frameborder="0" scrolling="no"></iframe></div>
		</div>

		<div class="quick-menu">
			<dl>
				<dt><a href="/ucenter/index">我的账户</a><i></i></dt>
			</dl>

			<dl>
				<dt><a href="/ucenter/order">我的订单</a><i></i></dt>
			</dl>
			<dl>
				<dt><a href="/simple/seller">申请开店</a><i></i></dt>
			</dl>

			<dl>
				<dt><a href="/seller/index">商家管理</a><i></i></dt>
			</dl>
			<dl>
				<dt><a href="/site/help_list">使用帮助</a><i></i></dt>
			</dl>

		</div>
	</div>
</div>
<!--block-->
<!--block-->
<div class="header-wrap">
	<header  class="public-head-layout wrapper">
		<h1 class="site-logo"><a href="/"><img th:src="@{/picture/logo.gif}" src="static/picture/logo.gif" class="pngFix"></a></h1>
		<div class="head-search-bar">
			<form method='get' action='/index.php' class="search-form">
				<input type='hidden' name='controller' value='site' />
				<input type='hidden' name='action' value='search_list' />
				<input name="word"  type="text" class="input-text" value="" maxlength="60" placeholder="请输入您要搜索的商品关键字" >
				<input type="submit" id="button" value="搜索" class="input-submit">
			</form>

			<div class="keyword">热门搜索：
				<ul>
					<li> <a href="/search.html?word=%E7%9C%9F%E7%9A%AE%E5%A5%B3%E5%8C%85">真皮女包</a></li>
					<li> <a href="/search.html?word=%E8%A1%AC%E8%A1%A3">衬衣</a></li>
					<li> <a href="/search.html?word=%E8%BF%9B%E5%8F%A3%E7%89%9B%E5%A5%B6">进口牛奶</a></li>
				</ul>
			</div>
		</div>
		<div class="head-user-menu">
			<dl class="my-mall">
				<dt><span class="ico"></span>我的商城<i class="arrow"></i></dt>
				<dd>
					<div class="sub-title">
						<h4></h4>
						<a href="/ucenter/index" class="arrow">我的用户中心<i></i></a></div>
					<div class="user-centent-menu">
						<ul>
							<li><a href="/ucenter/order" class="arrow">我的订单<i></i></a></li>
							<li><a href="/ucenter/integral" class="arrow">我的积分<i></i></a></li>
							<li><a href="/ucenter/account_log" class="arrow">账户资金<i></i></a></li>
							<li><a href="/ucenter/message" class="arrow">我的消息<i></i></a></li>
							<li><a href="/ucenter/info" class="arrow">个人资料<i></i></a></li>
							<li><a href="/ucenter/redpacket" class="arrow">我的优惠券<i></i></a></li>

						</ul>
					</div>
				</dd>
			</dl>
			<dl class="my-cart" name="mycart">
				<dt><span class="ico"></span>购物车结算<i class="arrow"></i></dt>
				<div class="addcart-goods-num" name="mycart_count" >0</div>
				<dd id="div_mycart">
				</dd>

				<!--购物车模板 开始-->
				<script type='text/html' id='cartTemplete'>
					<div class="sub-title">
						<h4>最新加入的商品</h4>
					</div>
					<div class="incart-goods">
						<%for(var item in goodsData){%>
						<%var data = goodsData[item]%>
						<dl id="site_cart_dd_<%=item%>">
							<dt class="goods-name">
								<a href="/site/products/id/<%=data['goods_id']%>">
									<%=data['name']%>
								</a>
							</dt>
							<dd class="goods-thumb">
								<a href="/site/products/id/<%=data['goods_id']%>" title="<%=data['name']%>">
									<img src="<%=webroot(data['img'])%>">
								</a>
							</dd>
							<dd class="goods-sales"></dd>
							<dd class="goods-price"><em>¥<%=data['sell_price']%> x <%=data['count']%></em></dd>
							<dd class="handle"><em><a href="javascript:void(0);" onclick="removeCart('<%=data['id']%>','<%=data['type']%>');$('#site_cart_dd_<%=item%>').hide('slow');">删除</a></em></dd>
						</dl>
						<%}%>
					</div>
					<%if(!goodsData){%>
					<div class="incart-goods"><div class="no-order"><span>您的购物车中暂无商品，赶快选择心爱的商品吧！</span></div></div>
					<%}%>

					<div class="checkout"> <span class="total-price"></span>
						<a href="/cart.html" class="btn-cart">结算购物车中的商品</a>
					</div>
				</script>
				<!--购物车模板 结束-->



			</dl>
		</div>
	</header>
</div>
<!--block-->
<!--block-->
<nav class="public-nav-layout">
	<div class="wrapper">
		<div class="all-category">
			<div class="title">
				<!-- <div class="all_sort">-->
				<h3><a href="">所有商品分类</a></h3>
				<i class="arrow"></i></div>
			<div class="category" style="float:left; width:210px;height:250px">
				<ul class="menu">
					<li cat_id="1" class="odd">
						<div class="class">
							<dl>
								<dd class="biaoti"><a href="/pro_list-1.html">家用电器</a></dd>
								<dd class="recommend-class">
									<a href="/pro_list-2.html">大家电</a>
									<a href="/pro_list-13.html">生活电器</a>
									<a href="/pro_list-14.html">厨房电器</a>
								</dd>
								<div class="clear"></div>
							</dl>
						</div>
						<div class="sub-class" cat_menu_id="1" >
							<h1><a href="/pro_list-1.html">家用电器</a></h1>
							<div class="sub-cass_c">
								<a href="/pro_list-2.html">大家电</a>
								<a href="/pro_list-13.html">生活电器</a>
								<a href="/pro_list-14.html">厨房电器</a>
							</div>
						</div>
					</li>
					<li cat_id="2" class="odd">
						<div class="class">
							<dl>
								<dd class="biaoti"><a href="/pro_list-4.html">食品饮料</a></dd>
								<dd class="recommend-class">
									<a href="/pro_list-5.html">进口食品</a>
									<a href="/pro_list-33.html">酒品</a>
								</dd>
								<div class="clear"></div>
							</dl>
						</div>
						<div class="sub-class" cat_menu_id="2" >
							<h1><a href="/pro_list-4.html">食品饮料</a></h1>
							<div class="sub-cass_c">
								<a href="/pro_list-5.html">进口食品</a>
								<a href="/pro_list-33.html">酒品</a>
							</div>
						</div>
					</li>
					<li cat_id="3" class="odd">
						<div class="class">
							<dl>
								<dd class="biaoti"><a href="/pro_list-7.html">家具</a></dd>
								<dd class="recommend-class">
									<a href="/pro_list-8.html">家装建材</a>
									<a href="/pro_list-31.html">卧室家具</a>
								</dd>
								<div class="clear"></div>
							</dl>
						</div>
						<div class="sub-class" cat_menu_id="3" >
							<h1><a href="/pro_list-7.html">家具</a></h1>
							<div class="sub-cass_c">
								<a href="/pro_list-8.html">家装建材</a>
								<a href="/pro_list-31.html">卧室家具</a>
							</div>
						</div>
					</li>

				</ul>
			</div>    </div>
		<ul class="site-menu">
			<li><a href="/" class="current">首页</a></li>
			<li><a href="http://www.aircheng.com">官网首页<span> </span></a></li>
			<li><a href="/site/seller">商家列表<span> </span></a></li>
			<li><a href="/admin/index">后台管理<span> </span></a></li>
			<li><a href="/seller/index">商家管理<span> </span></a></li>
		</ul>
	</div>
</nav>
<!--block-->

<div class="clear"></div>
<script type="text/javascript" charset="UTF-8" src="static/js/jquery.bxslider.min.js"></script><link rel="stylesheet" type="text/css" th:src="@{/css/jquery.bxslider.css}" href="static/css/jquery.bxslider.css" />
<style>
	.category {
		display: block !important;
	}
</style>


<!--新闻页面-->
<div class="cont">
	<div class="c_box">
		<h2 th:text="${detail.enTitle}">最新酷睿笔记本</h2>
		<div class="partake_bar clearfix">
			<div th:text="${detail.enContent}">IBME系列全场促销中，最新酷睿双核处理器，保证CPU更高效的运转。 </div>
			<span class="f_r"></span>
		</div>
		<div class="textcontent">
		</div>
	</div>
</div>









<script type='text/javascript'>
	//dom载入完毕执行
	jQuery(function()
	{
		//幻灯片开启
		$('.bxslider').bxSlider({'mode':'fade','captions':true,'pager':false,'auto':true});

		//显示抢购倒计时
		var cd_timer = new countdown();
		cd_timer.add(2);
		cd_timer.add(14);
		cd_timer.add(15);
		cd_timer.add(16);

		//首页商品变色
		var colorArray = ['green','yellow','purple'];
		$('div[name="showGoods"]').each(function(i)
		{
			$(this).addClass(colorArray[i%colorArray.length]);
		});
	});

	//电子邮件订阅
	function orderinfo()
	{
		var email = $('[name="orderinfo"]').val();
		if(email == '')
		{
			alert('请填写正确的email地址');
		}
		else
		{
			$.getJSON('/site/email_registry',{email:email},function(content){
				if(content.isError == false)
				{
					alert('订阅成功');
					$('[name="orderinfo"]').val('');
				}
				else
					alert(content.message);
			});
		}
	}
</script>
<div class="clear"></div>

<div style="height: 30px;width: 100%;"></div>
<div id="faq">
	<div class="wrapper">

		<div class="footer" style="text-align:center"><p class="copyright">Powered by <a href="http://www.aircheng.com">芙蓉346</a></p>Copyright © 2005-2014 <a class="copyys" target="_blank" href="http://beian.miit.gov.cn/">邓家组346号</a></div>    </div>
</div>

<script type="text/javascript">
	$(function(){
		//首页左侧分类菜单
		$(".category ul.menu").find("li").each(
				function() {
					$(this).hover(
							function() {
								var cat_id = $(this).attr("cat_id");
								var menu = $(this).find("div[cat_menu_id='"+cat_id+"']");
								menu.show();
								$(this).addClass("hover");
								if(menu.attr("hover")>0) return;
								//menu.masonry({itemSelector: 'dl'});
								var menu_height = menu.height();
								if (menu_height < 60) menu.height(120);
								menu_height = menu.height();
								var li_top = $(this).position().top;
								menu.attr("hover",1);
							},
							function() {
								$(this).removeClass("hover");
								var cat_id = $(this).attr("cat_id");
								$(this).find("div[cat_menu_id='"+cat_id+"']").hide();
							}
					);
				}
		);
		$(".head-user-menu dl").hover(function() {
					$(this).addClass("hover");
				},
				function() {
					$(this).removeClass("hover");
				});
	});
</script>
</body>
</html>
<script type="text/javascript">
	_webUrl = "/_controller_/_action_/_paramKey_/_paramVal_";_themePath = "/views/nongrj/";_skinPath = "/views/nongrj/skin/default/";_webRoot = "/";
</script>